package com.unittec.drainage.provider.manage.service;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.unittec.drainage.provider.manage.entity.RegionGeom;
import com.unittec.drainage.provider.manage.mapper.RegionGeomMapper;
/**
 * @author Jason
 * @date 2021/8/6
 */
@Service
public class RegionGeomService extends ServiceImpl<RegionGeomMapper, RegionGeom> {


    public int batchInsert(List<RegionGeom> list, int SRID) {

        return this.baseMapper.batchInsert(list, SRID);
    }

    public List<RegionGeom> selectAll() {

        return this.baseMapper.selectAll();
    }

    public List<RegionGeom> selectAllByRegionId(String regionId) {

        return this.baseMapper.selectAllByRegionId(regionId);
    }

}
